Open
Conversation
cpp11nullptr
approved these changes
Mar 19, 2026
Contributor
cpp11nullptr
left a comment
There was a problem hiding this comment.
Can we also add sample app (see tests/DevApps/MtlsPop as an example) which shows a developer experience?
src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Identity.Web.TokenAcquisition/CredentialsProvider.cs
Outdated
Show resolved
Hide resolved
cpp11nullptr
approved these changes
Mar 19, 2026
| LogMessages.AttemptToLoadCredentialsFailed(_logger, credential, ex); | ||
| errorMessage += $"Credential {credential.Id} failed because: {ex} \n"; | ||
| } | ||
|
|
| namespace Microsoft.Identity.Web | ||
| { | ||
| internal partial class ConfidentialClientApplicationBuilderExtension | ||
| internal partial class CredentialsProvider |
Contributor
There was a problem hiding this comment.
Why is this renamed?
| private readonly IOptionsMonitor<DownstreamApiOptions> _namedDownstreamApiOptions; | ||
|
|
||
| private const string Authorization = "Authorization"; | ||
| private const string MtlsProtocolScheme = "MTLS"; |
Contributor
There was a problem hiding this comment.
is MTLS scheme different than MTLS POP below?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support for mTLS authentication only mode for DownstreamApi
Adds support for mTLS only mode for DownstreamApi. This allows you to configure a protocol of "MTLS" and the configured certificate will be attached to the request without and authentication header.
This is set up to work with all existing certificate infrastructure as Token Acquisition. This means that the Managed Certificate logic will fit right in.
Description
This essentially does the following: